        <!DOCTYPE html>
        <html>
        <head>
                <meta charset="utf-8">
        <title>Action class / mock Library / Dart Documentation</title>
        <link rel="stylesheet" type="text/css"
            href="../styles.css">
        <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800" rel="stylesheet" type="text/css">
        <link rel="shortcut icon" href="../favicon.ico">
        
        </head>
        <body data-library="mock" data-type="Action">
        <div class="page">
        <div class="header">
          <a href="../index.html"><div class="logo"></div></a>
          <a href="../index.html">Dart Documentation</a>
         &rsaquo; <a href="../mock.html">mock</a> &rsaquo; <a href="../mock/Action.html">Action</a>        <div id="search-box">
          <input type="search" name="q" id="q" autocomplete="off"
              class="search-input" placeholder="Search API">
        </div>
        
      </div>
      <div class="drop-down" id="drop-down"></div>
      
        <div class="nav">
        
</div>
<div class="content">
        <h2><strong>Action</strong>
          class
        </h2>
        
<button id="show-inherited" class="show-inherited">Hide inherited</button>
<div class="doc">
<p>The ways in which a call to a mock method can be handled. </p>
<pre class="source">
class Action {
 /** Do nothing (void method) */
 static const IGNORE = const Action._('IGNORE');

 /** Return a supplied value. */
 static const RETURN = const Action._('RETURN');

 /** Throw a supplied value. */
 static const THROW = const Action._('THROW');

 /** Call a supplied function. */
 static const PROXY = const Action._('PROXY');

 const Action._(this.name);

 final String name;
}
</pre>
</div>
<div>
<h3>Static Properties</h3>
<div class="field"><h4 id="IGNORE">
<button class="show-code">Code</button>
const         <strong>IGNORE</strong> <a class="anchor-link"
            href="#IGNORE"
            title="Permalink to Action.IGNORE">#</a>
        </h4>
        <div class="doc">
<pre class="source">
IGNORE = const Action._('IGNORE')
</pre>
</div>
</div>
<div class="field"><h4 id="PROXY">
<button class="show-code">Code</button>
const         <strong>PROXY</strong> <a class="anchor-link"
            href="#PROXY"
            title="Permalink to Action.PROXY">#</a>
        </h4>
        <div class="doc">
<pre class="source">
PROXY = const Action._('PROXY')
</pre>
</div>
</div>
<div class="field"><h4 id="RETURN">
<button class="show-code">Code</button>
const         <strong>RETURN</strong> <a class="anchor-link"
            href="#RETURN"
            title="Permalink to Action.RETURN">#</a>
        </h4>
        <div class="doc">
<pre class="source">
RETURN = const Action._('RETURN')
</pre>
</div>
</div>
<div class="field"><h4 id="THROW">
<button class="show-code">Code</button>
const         <strong>THROW</strong> <a class="anchor-link"
            href="#THROW"
            title="Permalink to Action.THROW">#</a>
        </h4>
        <div class="doc">
<pre class="source">
THROW = const Action._('THROW')
</pre>
</div>
</div>
</div>
<div>
<h3>Properties</h3>
<div class="field"><h4 id="name">
<button class="show-code">Code</button>
final String         <strong>name</strong> <a class="anchor-link"
            href="#name"
            title="Permalink to Action.name">#</a>
        </h4>
        <div class="doc">
<pre class="source">
name
</pre>
</div>
</div>
</div>
        </div>
        <div class="clear"></div>
        </div>
        <div class="footer">
          
        </div>
        <script async src="../client-live-nav.js"></script>
        </body></html>
        
